/*
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * RSerrors.h
 *
 *  Created on: 2010/02/15
 *      Author: Alexandre Pires ( c.alexandre.pires@gmail.com )
 */

#ifndef RSERRORS_H_
#define RSERRORS_H_

#define RS_NO_ERROR                 0
#define RS_NULL_POINTER             1
#define RS_INVALID_ELEMENT          2
#define RS_ID_TAKEN                 3
#define RS_LIBRARY_NOT_FOUND        4
#define RS_GEOMETRIC_ELEMENT_EXISTS 5
#define RS_INVALID_OPERATION        6
#define RS_ALREADY_IN_LIST          7
#define RS_PRIMITIVES_NOT_SET       8
#define RS_OBJECT_NOT_FOUND         9
#define RS_ELEMENT_ROOT             10
#define RS_ELEMENT_NOT_ROOT         11
#define RS_INVALID_CHILD            12
#define RS_ROOT_ELEMENT_NOT_DEFINED 13
#define RS_UNIMPLEMENTED            14
#define RS_INPUT_SET_ALREADY_EXIST  16
#define RS_ELEMENT_NOT_DATA_SOURCE  17
#define RS_NO_CHILD_ALLOWED         18
#define RS_SID_ALREADY_TAKEN        19
#define RS_PROFILE_TECHNIQUE_EXISTS 20
#define RS_VALUE_UNDEFINED          21
#define RS_INVALID_VALUE            22
#define RS_OPTICS_NOT_DEFINED       23
#define RS_DATA_SOURCE_NOT_DEFINED  24
#define RS_OFFSET_OUT_OF_BOUNDS     25

typedef unsigned int RSError;

#endif /* RSERRORS_H_ */
